package com.huilian.iotbox.data.dto;

import com.huilian.iotbox.data.po.User;
import com.huilian.iotbox.data.po.UserAllocationModule;
import com.huilian.iotbox.data.po.UserStore;
import com.huilian.iotbox.data.vo.PermissionVo;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * @author 谢洛涛
 * @date 2021/6/8 20:09
 */
@Data
@ToString(callSuper = true)
public class UserStoreDto extends UserStore {
    private String storeName;

    private List<UserStoreDto> userStoreList;

    private User user;

    private List<UserAllocationModule> allocationModuleList;

    private Boolean temporaryRole;

    private String mobile;
    private Integer roleId;
    private String username;
    private String name;
    private String password;
    private List<PermissionVo> permissionList;
    private Integer platformType;
    private Integer userRoleId;
    private Integer[] storeIdArray;
    private Boolean newStoreAutoAuthorization;

    private List<Integer> permissionIdList;
}
